<?php
require_once '../../bbs/include/common.inc.php';
require_once '../../classes/include.php';

$id = intval($_GET["id"]);

$sql = "select * from applicant_info where id = '".$id."' limit 1";
$query = $db->query($sql);
$rs = $db->fetch_array($query);

$id		= $rs["id"];
$applicant_username		= $rs["applicant_username"];
if($rs["sex"] == "1"){
	$sex = "男";
}else{
	$sex = "女";
}
$birth_date		= $rs["birth_date"];
$company		= $rs["company"];
$mobile		= $rs["mobile"];
$email		= $rs["email"];
$submit_time		= $rs["submit_time"];
$remark	= html_entity_decode ( $rs["remark"] );

?>
<html><head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="../../bbs/images/admincp/admincp.css" type="text/css" media="all" /> 
</head>
<body bgcolor="#FFFFFF" text="#000000">
  <table cellspacing=1 cellpadding=3 width="100%" align=center bgcolor="#CBDFF3" border=0>
    <tr class="tableheader"> 
      <td colspan="2">&nbsp;&nbsp;报名详细资料</td>
    </tr>
    <tr class="tablecontent"> 
      <td width="100" align="left">&nbsp;&nbsp;姓名:</td>
      <td><?php echo $applicant_username?></td>
    </tr>
    <tr class="tablecontent"> 
      <td width="100" align="left">&nbsp;&nbsp;性别:</td>
      <td><?php echo $sex?></td>
    </tr>
    <tr class="tablecontent"> 
      <td width="100" align="left">&nbsp;&nbsp;出生日期:</td>
      <td><?php echo $birth_date?></td>
    </tr>
    <tr class="tablecontent"> 
      <td width="100" align="left">&nbsp;&nbsp;单位:</td>
      <td><?php echo $company?></td>
    </tr>
    <tr class="tablecontent"> 
      <td width="100" align="left">&nbsp;&nbsp;手机号:</td>
      <td><?php echo $mobile?></td>
    </tr>
    <tr class="tablecontent"> 
      <td width="100" align="left">&nbsp;&nbsp;电子邮件:</td>
      <td><?php echo $email?></td>
    </tr>
    <tr class="tablecontent"> 
      <td width="100" align="left">&nbsp;&nbsp;报名时间:</td>
      <td><?php echo $submit_time?></td>
    </tr>
    <tr class="tablecontent"> 
      <td colspan="2" align="left">&nbsp;&nbsp;备注:</td>
    </tr>
    
    <tr class="tablecontent"> 
      <td colspan="2"><?php echo $content?></td>
    </tr>
  </table>
  <BR>
  <table cellspacing=1 cellpadding=3 width="95%" align=center bgcolor="#FFFFFF" border=0>
    <tr> 
      <td colspan="2" align="center"> 
        <a href="./list.php">返回</a>
      </td>
    </tr>
  </table>
</body>
</html>